<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>İnfoteks</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="İnfoteks">
    <meta name="author" content="İnfoteks">

    <!-- <link href="assets/less/styles.less" rel="stylesheet/less" media="all"> -->
    <link rel="stylesheet" href="<?php echo base_url().'public/';?>assets/css/styles.min.css?=113">
    <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600' rel='stylesheet' type='text/css'>
    
    <!-- <script type="text/javascript" src="assets/js/less.js"></script> -->
</head><body class="focusedform">

<div class="verticalcenter">
	<a href="<?php echo base_url(); ?>"><img src="<?php echo base_url().'public/';?>assets/img/infoteks.png" alt="Logo" class="brand" /></a>
	<div class="panel panel-primary">
		<div class="panel-body">
        
		
                <?php 
                $attributes = array('class' => 'form-horizontal', 'style' => 'margin-bottom: 0px !important;', 'id' => 'loginForm' );
                echo form_open('user/login',$attributes); ?>
				<!-- <form action="#" class="form-horizontal" style="margin-bottom: 0px !important;"> -->
						<div class="form-group">
							<div class="col-sm-12">
								<div class="input-group">
									<span class="input-group-addon"><i class="fa fa-user"></i></span>
									<input value="<?php echo set_value('username');?>" type="text" class="form-control" name="username" id="username" placeholder="Kullanıcı Adı">
								</div>
							</div>
                            <div class="col-sm-12">
                                
                                <?php echo form_error('username','<div class="alert alert-dismissable alert-danger">','</div>'); ?>
                              
                            </div>
						</div>
						<div class="form-group">
							<div class="col-sm-12">
								<div class="input-group">
									<span class="input-group-addon"><i class="fa fa-lock"></i></span>
									<input value="<?php echo set_value('password');?>" type="password" name="password" class="form-control" id="password" placeholder="Şifre">
                                    
								</div>
							</div>
                            <div class="col-sm-12">
                                
                                <?php echo form_error('password','<div class="alert alert-dismissable alert-danger">','</div>'); ?>
                              
                            </div>
                            <div class="col-sm-12">
                                
                                <?php if($this->session->flashdata('error'))
                                    echo '<div class="alert alert-dismissable alert-danger">'.$this->session->flashdata('error').'</div>';
                                ?>
                              
                            </div>
						</div>

				
					
		</div>
        
        
		<div class="panel-footer">
			<a href="extras-forgotpassword.htm" class="pull-left btn btn-link" style="padding-left:0">Forgot password?</a>
			
			<div class="pull-right">
				<!-- <a href="#" class="btn btn-default">Reset</a> -->
				<a href="" onclick="document.forms[0].submit();return false;" class="btn btn-primary" id="a">Giriş</a>
                <!-- <button class="btn-primary">Log In</button> -->
			</div>
		</div>
 	</form>
	</div>
 </div>
      
</body>
</html>